package cn.tx.dao;

import cn.tx.model.Grade;
import cn.tx.model.Library;

import java.util.List;
import java.util.Map;

public interface LibraryDao {

    public Library findByUserName(String username);
    public int addLibrary(Library library);
    public List<Library> findList(Map<String,Object> query);
    public List<Library> findAll();
    public int findTotal(Map<String,Object> query);
    public int UpdateLibraryById(Library library);
    public int delete(String ids);

}
